package com.xssn.fjnd.content.feign;


import com.xssn.fjnd.content.service.IVideoService;
import com.xssn.fjnd.feign.IFeignContentController;
import com.xssn.fjnd.feign.req.UserInfoREQ;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

@Api(value = "被远程调用的视频微服务接口", description = "被远程调用的视频微服务接口")
@RestController // 不要少了转换为JSON格式
public class FeignVideoController implements IFeignContentController {

    @Autowired
    private IVideoService videoService;

    @Override
    public boolean updateUserInfo(UserInfoREQ req) {
        return videoService.updateUserInfo(req);
    }
}
